<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Makanan extends CI_Model {

	public function get_makanan(){

		$this->db->join('kategori' , 'kategori.id_kategori = tbl_makanan.id_kategori');
		$rs = $this->db->get('tbl_makanan');
		return $rs->result();
	}
}
